﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CurrentItems" targetNamespace="http://tempuri.org/CurrentItems.xsd" xmlns:mstns="http://tempuri.org/CurrentItems.xsd" xmlns="http://tempuri.org/CurrentItems.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="KorleBu_STA_InvetoryConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="KorleBu_STA_InvetoryConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.KorleBu_STA_InvetoryConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="sp_reports_currentItemsTableAdapter" GeneratorDataComponentClassName="sp_reports_currentItemsTableAdapter" Name="sp_reports_currentItems" UserDataComponentName="sp_reports_currentItemsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="KorleBu_STA_InvetoryConnectionString (Web.config)" DbObjectName="CS4750S12.dbo.sp_reports_currentItems" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.sp_reports_currentItems</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="itemName" DataSetColumn="itemName" />
              <Mapping SourceColumn="totalQuantity" DataSetColumn="totalQuantity" />
              <Mapping SourceColumn="markupCost" DataSetColumn="markupCost" />
              <Mapping SourceColumn="ItemCategoryName" DataSetColumn="ItemCategoryName" />
              <Mapping SourceColumn="rowNumber" DataSetColumn="rowNumber" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CurrentItems" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="CurrentItems" msprop:Generator_UserDSName="CurrentItems">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="sp_reports_currentItems" msprop:Generator_TableClassName="sp_reports_currentItemsDataTable" msprop:Generator_TableVarName="tablesp_reports_currentItems" msprop:Generator_TablePropName="sp_reports_currentItems" msprop:Generator_RowDeletingName="sp_reports_currentItemsRowDeleting" msprop:Generator_UserTableName="sp_reports_currentItems" msprop:Generator_RowChangingName="sp_reports_currentItemsRowChanging" msprop:Generator_RowEvHandlerName="sp_reports_currentItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="sp_reports_currentItemsRowDeleted" msprop:Generator_RowEvArgName="sp_reports_currentItemsRowChangeEvent" msprop:Generator_RowChangedName="sp_reports_currentItemsRowChanged" msprop:Generator_RowClassName="sp_reports_currentItemsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="itemName" msprop:Generator_ColumnVarNameInTable="columnitemName" msprop:Generator_ColumnPropNameInRow="itemName" msprop:Generator_ColumnPropNameInTable="itemNameColumn" msprop:Generator_UserColumnName="itemName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="totalQuantity" msprop:Generator_ColumnVarNameInTable="columntotalQuantity" msprop:Generator_ColumnPropNameInRow="totalQuantity" msprop:Generator_ColumnPropNameInTable="totalQuantityColumn" msprop:Generator_UserColumnName="totalQuantity" type="xs:int" />
              <xs:element name="markupCost" msprop:Generator_ColumnVarNameInTable="columnmarkupCost" msprop:Generator_ColumnPropNameInRow="markupCost" msprop:Generator_ColumnPropNameInTable="markupCostColumn" msprop:Generator_UserColumnName="markupCost" type="xs:decimal" />
              <xs:element name="ItemCategoryName" msprop:Generator_ColumnVarNameInTable="columnItemCategoryName" msprop:Generator_ColumnPropNameInRow="ItemCategoryName" msprop:Generator_ColumnPropNameInTable="ItemCategoryNameColumn" msprop:Generator_UserColumnName="ItemCategoryName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="rowNumber" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnrowNumber" msprop:Generator_ColumnPropNameInRow="rowNumber" msprop:Generator_ColumnPropNameInTable="rowNumberColumn" msprop:Generator_UserColumnName="rowNumber" type="xs:long" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>